package com.zzyl.mapper;

import com.zzyl.dto.MemberDto;
import com.zzyl.entity.Member;
import com.zzyl.vo.MemberVo;
import org.apache.ibatis.annotations.*;

import java.util.List;


/**
 * @author Chenxu
 */
@Mapper
public interface MemberMapper {
    Integer insert(Member member);

    MemberVo selectById(@Param("id") Long id);

    Integer update(Member member);

    Integer deleteById(@Param("id") Long id);

    MemberVo selectByOpenId(String openId);
}
